package com.model;

import java.util.Date;

/**
 *
 * @author Lang Van Hao
 */
public class UserClass {

    private int userID;
    private String userName;
    private String password;
    private String fullName;
    private String email;
    private Date joinDate;

    public UserClass() {
    }

    /**
     * Contructor for UserClass
     * @param userID
     * @param userName
     * @param password
     * @param fullName
     * @param email
     * @param joinDate
     */
    public UserClass(int userID, String userName, String password, String fullName, String email,
            Date joinDate) {
        this.setData(userID, userName, password, fullName, email, joinDate);
    }

    /**
     * Method to set data for UserClass
     * @param userID
     * @param userName
     * @param password
     * @param fullName
     * @param email
     * @param joinDate
     */
    public void setData(int userID, String userName, String password, String fullName, String email,
            Date joinDate) {
        this.setUserID(userID);
        this.setPassword(password);
        this.setFullName(fullName);
        this.setEmail(email);
        this.setJoinDate(joinDate);
    }

    /**
     * @return the userID
     */
    public int getUserID() {
        return userID;
    }

    /**
     * @param userID the userID to set
     */
    public void setUserID(int userID) {
        this.userID = userID;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the fullName
     */
    public String getFullName() {
        return fullName;
    }

    /**
     * @param fullName the fullName to set
     */
    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the joinDate
     */
    public Date getJoinDate() {
        return joinDate;
    }

    /**
     * @param joinDate the joinDate to set
     */
    public void setJoinDate(Date joinDate) {
        this.joinDate = joinDate;
    }
}
